package cn.wl.pchart.entity;

import java.util.List;

/**
 * 纸飞机类，包含全部信息
 */
public class Pcharts {
    // 纸飞机主体
    private Pchart pchart = null;
    // 纸飞机附加信息
    private List<Pinfo> pinfos = null;
    // 纸飞机评论数量
    private Integer commentNums = null;

    // 纸飞机用户的昵称
    private String name;
    // 纸飞机用户头像url
    private String image;

    // 是否关注
    private boolean isLike = false;

    public Pchart getPchart() {
        return pchart;
    }

    public void setPchart(Pchart pchart) {
        this.pchart = pchart;
    }

    public List<Pinfo> getPinfos() {
        return pinfos;
    }

    public void setPinfos(List<Pinfo> pinfos) {
        this.pinfos = pinfos;
    }

    public Integer getCommentNums() {
        return commentNums;
    }

    public void setCommentNums(Integer commentNums) {
        this.commentNums = commentNums;
    }

    public boolean isLike() {
        return isLike;
    }

    public void setLike(boolean like) {
        isLike = like;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}
